Fees And Amounts
APIs for a Source PSP acting as its own FX Provider to either have settlement amounts and fees computed on its behalf, or retrieve the fee formula for independent computation.
Retrieves the various fees and amounts based on specified parameters. Information can be used in the pacs.008 payment instruction.
- : Compute fees and settlement amounts from a PSP supplied rate
Mutual TLS: the IPSO presents its X.509 client certificate on every connection, validated during the TLS handshake (fail-closed). The same certificate is the RFC 8705 binding anchor for the OAuth access token (see nexusOAuth).
OAuth2 client-credentials access token issued per participant, presented as Authorization: Bearer <token>. Tokens are certificate-bound per RFC 8705: the token carries a cnf."x5t#S256" confirmation claim recording the SHA-256 thumbprint of the IPSO's mTLS client certificate, and the request is rejected (AE006) when the certificate presented on the connection does not match that thumbprint.
ISO-3166 alpha-2 country code of the Source Country.
SGPattern: ^[A-Z]{2}$ISO-4217 3-letter code of the Source Currency.
SGDPattern: ^[A-Z]{3}$ISO-3166 alpha-2 country code of the Destination Country.
MYPattern: ^[A-Z]{2}$ISO-4217 3-letter code of the Destination Currency.
MYRPattern: ^[A-Z]{3}$ISO-4217 3-letter code of the currency in which amount is expressed.
SGDPattern: ^[A-Z]{3}$The amount in the specified amountCurrency. If defined in Source Currency, this must be the Interbank Settlement Amount (after Source PSP deduction). If defined in Destination Currency, this is the CreditorAccountAmount to be credited to the Recipient.
100The exchange rate from Source to Destination currency, as managed by the Source PSP.
3.5Type ID of the Source PSP. Used together with finInstId to identify the Source PSP, which is treated as the FX Provider for the resulting payment. The originating Source IPS is resolved separately from the authenticated caller context.
One of BICFI, LEI or otherId.
BICFIPossible values: ID of the Source PSP.
Format depends on the sibling finInstIdType parameter: BICFI is 8 or 11 characters, LEI is 20 characters, otherId is free text of up to 35 characters. The per-type format is enforced as a business validation (BE019 FI_ID_TYPE_UNSUPPORTED / BE020 FI_NOT_FOUND) rather than by this schema, because it cannot be expressed as a constraint on an independent parameter.
FXSGAAAAType ID of the Destination PSP. Required when the destination country operates multiple IPSes. Used to resolve which Destination IPS serves the Destination PSP for the Source PSP's Destination-side settlement-account check.
One of BICFI, LEI or otherId.
BICFIPossible values: ID of the Destination PSP. Required when the destination country operates multiple IPSes. If absent in a multi-IPS destination country, Nexus rejects the request with BE008 QUOTE_DESTINATION_PSP_REQUIRED.
Format depends on the sibling destFinInstIdType parameter: BICFI is 8 or 11 characters, LEI is 20 characters, otherId is free text of up to 35 characters. The per-type format is enforced as a business validation (BE019 FI_ID_TYPE_UNSUPPORTED / BE020 FI_NOT_FOUND) rather than by this schema, because it cannot be expressed as a constraint on an independent parameter.
MBBEMYKL/
*/*Example: */*Fees and amounts quote generated.
Computed debtor and creditor amounts with fees.
Invalid Request
Authentication Failure
Authorization Failure
Resource Not Found
Method Not Allowed. The HTTP method is not supported for this endpoint. Use the correct HTTP method.
Too Many Requests. Rate limit exceeded. The Retry-After header indicates when to retry. Back off and retry after the indicated duration.
Internal Server Error
Bad Gateway. The gateway received an invalid response from the upstream service. Retry with exponential backoff. If persistent, escalate.
Service Unavailable. The upstream service is temporarily unavailable, for example during rolling deployment. Retry with exponential backoff.
Gateway Timeout. The upstream service did not respond within the gateway's timeout window. Retry with exponential backoff.
GET /v1/fees-and-amounts/{sourceCountry}/{sourceCurrency}/{destinationCountry}/{destinationCurrency}/{amountCurrency}/{amount}/{exchangeRate}?finInstIdType=BICFI&finInstId=text HTTP/1.1
Host: prod.payments.nexus.net
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"debtorAgent": {
"interbankSettlementAmount": {
"amount": 100,
"currency": "SGD"
}
},
"creditorAgent": {
"interbankSettlementAmount": {
"amount": 350,
"currency": "MYR"
},
"chargesAmount": {
"amount": 2.24,
"currency": "MYR"
},
"creditorAccountAmount": 347.76
}
}Returns the Destination Agent (Destination PSP) Fee FORMULA for a specified Destination Country, denominated in the Destination Currency. Supports HTTP conditional GET via If-None-Match header.
- : Retrieve the Destination Agent fee formula
Mutual TLS: the IPSO presents its X.509 client certificate on every connection, validated during the TLS handshake (fail-closed). The same certificate is the RFC 8705 binding anchor for the OAuth access token (see nexusOAuth).
OAuth2 client-credentials access token issued per participant, presented as Authorization: Bearer <token>. Tokens are certificate-bound per RFC 8705: the token carries a cnf."x5t#S256" confirmation claim recording the SHA-256 thumbprint of the IPSO's mTLS client certificate, and the request is rejected (AE006) when the certificate presented on the connection does not match that thumbprint.
ISO-3166 alpha-2 country code of the Destination Country. Example:MY
MYPattern: ^[A-Z]{2}$ISO-4217 3-letter code of the Destination Currency. Example:MYR
MYRPattern: ^[A-Z]{3}$/
*/*Example: */*Optional. ETag value from a previous response for conditional GET. If it matches the current entity tag, the server returns 304 Not Modified with no body.
"a1b2c3"Destination Agent Fee retrieved.
Not Modified. The resource has not changed since the last request.
Invalid Request
Authentication Failure
Authorization Failure
Resource Not Found
Method Not Allowed. The HTTP method is not supported for this endpoint. Use the correct HTTP method.
Too Many Requests. Rate limit exceeded. The Retry-After header indicates when to retry. Back off and retry after the indicated duration.
Internal Server Error
Bad Gateway. The gateway received an invalid response from the upstream service. Retry with exponential backoff. If persistent, escalate.
Service Unavailable. The upstream service is temporarily unavailable, for example during rolling deployment. Retry with exponential backoff.
Gateway Timeout. The upstream service did not respond within the gateway's timeout window. Retry with exponential backoff.
GET /v1/fee-formulas/destination-agent-fee/{countryCode}/{currencyCode} HTTP/1.1
Host: prod.payments.nexus.net
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"countryCode": "MY",
"nominalFee": {
"amount": 2.22,
"currency": "MYR"
},
"percentageFee": 0.1,
"validTo": "2026-07-17T23:59:59+08:00"
}Last updated
