Simulate credit (sandbox only)

Simulate a credit on a given account (sandbox only)

The credit endpoint allows to simulate an incoming payment from a third party to a chosen account.

Payment lifecycle

After successful creation, the payment will follow the same lifecycle as a payment in production.

In other words, it will appear in reports, in relevant endpoints (e.g. GET /api/v1/payments/singles) and trigger notifications if set up (e.g. IncomingPaymentBooked and IncomingPaymentProcessed)

Payment rails

You can simulate which payment rail is used to make the payment by setting the scheme parameter. The following options are currently supported.

For EUR payments:

  • SEPA - SEPA Credit Transfer
  • SEPAINST - SEPA Instant Credit Transfer
  • SEPA_DD - SEPA Direct Debit

For GBP payments:

  • FPS - Faster Payment Scheme
  • BACS_DD - BACS Direct Debit

For AUD payments:

  • 'NPP' - Australia's New Payments Platform (including PayId)

Note: the currency field must match the scheme currency, otherwise the endpoint will return a validation error.

FX conversions

To simulate an FX conversion, simply select a creditorAccount that has a different currency than the scheme / amount currency set. This will result in the payment being converted on receipt.

Finding the payment after creation

To easily find a payment after creation, use the remittanceInformationLine1 field which is returned in the 200 success response.

Note: due to system limitations, we cannot immediately return a payment ID or transaction reference

Body Params

Simulate credit payment request information

Simulated payment creation request object

creditorAccount
object
required

Account of the creditor


The account currency determines whether the payment should simulate usage of FX:

* Account currency equals amount currency = Simulate non-FX payment

* Account currency not equal amount currency = Simulate FX payment

string | null

Account of the ultimate beneficiary


If provided the payment is simulated as an agency banking payment.

string | null

Financial institution of ultimate beneficiary


If provided the payment is simulated as an agency banking payment.

amount
object

An amount

string
required

The payment scheme to use for the simulated payment


Valid values:

* SEPA_DD (amount currency must be set to EUR)

* BACS_DD (amount currency must be set to GBP)

* SEPA (amount currency must be set to EUR)

* SEPAINST (amount currency must be set to EUR)

* FPS (amount currency must be set to GBP)

* NPP (amount currency must be set to AUD)

creditorProxyAccount
object | null

Proxy identifier (e.g. PayId) metadata describing how a simulated incoming payment was addressed.


These values are informational and travel alongside the payment. They do not select or override
the creditor account, and are not resolved against it - mirroring the real incoming flow where proxy
resolution happens upstream before the payment reaches this system.


Supported for payments addressed to a branch 030 (e.g. AU/NPP) account, and may be combined with
agency-banking fields.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Choose an example:
application/json