Simulator

The following section refers to APIs which can be used to simulate incoming payments. Available only on the sandbox environment

Simulating payment status update

POST /v1/simulator/payment-status/update/{transactionId}

Simulate a status update of the payment with the given transaction ID, to CANCELLED, SCHEDULED or PROCESSED. A webhook is sent as for a real update. Available only on the sandbox environment

Requires the X-Api-Key and X-Api-Secret headers.

Parameters

transactionId required path · integer
X-Signature header · string
X-Signature-Key-Id header · string

Request body

status required string

New payment status

Allowed values: CANCELLED SCHEDULED PROCESSED

comment required string

Free-text details about the update

Responses

200 Updated transaction
transactionId integer · int64

Platform transaction ID

accountId integer · int64

ID of the currency account for which the transaction is created

merchantId integer · int64

ID of the Merchant

parentMerchantId integer · int64

ID of the Parent Merchant

merchantName string

Name of the Merchant

createdTime string · date-time

When the transaction was created, UTC, ISO 8601 with second precision

lastStatusUpdateTime string · date-time

When the transaction last changed status (confirmation time, or creation time if not yet confirmed), UTC

status string

Status of the transaction, see Transaction status above

Allowed values: INITIAL PENDING SCHEDULED PROCESSED CANCELLED FAILED

balance number

Account balance after this transaction

transactionAmount number

Amount of the transaction in the account currency, rounded to the currency precision

processingAmount number

Amount in the processing (payment) currency

transactionCurrency string

Currency of the transaction

processingCurrency string

Processing (payment) currency

direction string

Direction of the transaction: DEPOSIT, money going into your account (credit); WITHDRAW, money going out of your account (debit)

Allowed values: DEPOSIT WITHDRAW

type string

Human-readable type of the transaction. May change; use category for programmatic handling

category string

Category of the transaction, see Transaction categories above. Not a closed list

paymentMethod string

Key of the payment method used for the transaction

requestId integer · int64

ID of the payment request (if applicable)

payerName string

Name of the payer

payerEmail string

Email of the payer

counterpartyEmail string

Email of the counterparty

counterpartyName string

Name of the counterparty

counterpartyBank string

Bank name of the counterparty

counterpartyIban string

IBAN of the counterparty. For checkout payments only returned when full account info is enabled on your account

counterpartyLast4Digits string

Last 4 digits of the counterparty bank account

foreignTransactionId string

Unique identifier passed by the merchant for this transaction

reference string

Bank reference/other descriptor used for this transaction

parentTransactionId integer · int64

ID of the transaction's parent

linkedTransactions array of LinkedTransactionsApiResponse

Transactions linked to this one. Only returned by Search transactions with include: [LINKED_TRANSACTIONS]

Show fields
linkType string

FEE: the linked transaction is a fee for this one. FEE_FOR: this transaction is a fee for the linked one. REFUND: this is a refund of the linked transaction. REFUNDED_BY: the linked transaction refunds this one

Allowed values: REFUNDED_BY FEE_FOR REFUND FEE

transaction TransactionApiResponse

Transaction affecting your merchant currency account

Show fields

Recursive reference to TransactionApiResponse

destinationCryptoAddressDetails CryptoAddressDetails

Deposit address details, only for pending crypto checkout payments

Show fields
address string

The address of a crypto transaction

tag string

The address tag of a crypto transaction

currency string

The currency of a crypto transaction

expectedAmount number

The expected amount of a crypto transaction

statusCode integer · int64

Status code in case of failed transaction

statusMessage string

Status message in case of failed transaction

userMessage string

Last message shown to the customer. Only returned when enabled on your account

fee boolean

Same as isFee (kept for compatibility)

isFee boolean

Whether this transaction is a fee (transaction, service or otherwise)

400 The request is malformed or failed validation
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string
401 Missing or invalid API credentials, or invalid request signature
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string
409 The request conflicts with the merchant setup or the current state of the resource
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string
429 Rate limit exceeded
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string
500 Unexpected error
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string

Simulating manual review update

POST /v1/simulator/manual-review/update/{transactionId}

Simulate the outcome of a manual review of the transaction with the given ID: PROCESS approves it, DECLINE declines it. Available only on the sandbox environment

Requires the X-Api-Key and X-Api-Secret headers.

Parameters

transactionId required path · integer
X-Signature header · string
X-Signature-Key-Id header · string

Request body

action required string

PROCESS approves, DECLINE declines the transaction under manual review

Allowed values: PROCESS DECLINE

comment string

Extra details about the manual review update

Responses

200 Updated manual review
transactionId integer · int64
status string

Allowed values: PENDING DECLINED APPROVED BROKEN WAITING_COMPLIANCE_REVIEW WAITING_SECOND_APPROVAL DOCUMENTS_REQUESTED DOCUMENTS_UPLOADED

400 The request is malformed or failed validation
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string
401 Missing or invalid API credentials, or invalid request signature
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string
409 The request conflicts with the merchant setup or the current state of the resource
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string
429 Rate limit exceeded
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string
500 Unexpected error
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string

Simulate crypto payment

POST /v1/simulator/crypto/payment

Simulate an incoming crypto payment to an address returned by Create Crypto Payment Request. Available only on the sandbox environment

Requires the X-Api-Key and X-Api-Secret headers.

Parameters

X-Signature header · string

Signature header containing request body signature. Signed using the signature key provided to the merchant. If SKIP_SIGNATURE_CHECK capability is enabled on the merchant account this parameter is not required and will not be validated

X-Signature-Key-Id header · string

Key ID header used for signing request body If SKIP_SIGNATURE_CHECK capability is enabled on the merchant account this parameter is not required and will not be validated

Request body

Request body for the payment to be initiated

currency required string

Cryptocurrency of the simulated payment

amount required number

Amount of the simulated payment

address required string

Crypto address returned by Create Crypto Payment Request

tag string

Destination tag/memo. Only for XRP

Responses

200 Crypto payment simulated
400 The request is malformed or failed validation
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string
401 Missing or invalid API credentials, or invalid request signature
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string
409 The request conflicts with the merchant setup or the current state of the resource
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string
429 Rate limit exceeded
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string
500 Unexpected error
traceId string
timestamp string
code integer · int32
message string
cause array of ValidationCause
Show fields
field string
cause string
causeKey string