Skip to content
PaySwitch

Partner API reference

Every operation an enrolled participant can call, generated from the API repository's partner OpenAPI when this site is built. Operator and internal routes are never published here. Start with the integration guide.

Operations
65
Version
1.0.0
Generated from
payswitch-co/api@staging · 512fa611

Transactions

Initiate OCT and AFT instructions, read them back by id or RRN, confirm execution after the user completes a payment instruction, and request a pre-clearing reversal.

POST/api/v1/participants/me/transactions/{id}/confirm

Confirm execution of an authorized transaction after the user completed the payment instruction

Second call in the PaySwitch execution handshake. Use it for OTP/USSD, push, QR, PI-SPI, and high-risk pre-payment verification proof. The endpoint is idempotent when the same X-Idempotency-Key and body are retried.

Participant session

Parameters

idpath · string · required
Switch transaction id
X-Idempotency-Keyheader · string · required
Stable retry key for execution confirmation.

Request body · ExecutionConfirmationDto

evidenceReferencestring
Optional opaque evidence reference. Required when the stored transaction requires customer-action confirmation; Direct Send transactions authorized by PaySwitch must use an empty object and reject self-attested evidence.≤ 256 chars

Responses

  • 200 Execution confirmation accepted or replayed idempotently.
  • 400 Invalid confirmation payload or state.
  • 401 Invalid credentials.
  • 403 Participant is not authorized for this transaction.
  • 409 Idempotency conflict or in-flight duplicate.
GET/api/v1/transactions

Participant

Responses

POST/api/v1/transactions

Participant

Request body · InitiateTransactionDto

typestring · required
One of: OCTAFT
amountnumber · required
min 0.01
currencystring · required
≤ 10 chars
methodstring
Payment method/channel. If omitted, PaySwitch may route by policy.
participantAppSlugstring
≤ 80 chars
appSlugstring · deprecated
Deprecated alias for participantAppSlug.≤ 80 chars
sourceCountrystring
Required server-sealed PAYIN source-country material.pattern ^[A-Za-z]{2}$
destinationCountrystring
Required server-sealed PAYIN destination-country material.pattern ^[A-Za-z]{2}$
sourceCurrencystring
≤ 10 chars
destinationCurrencystring
≤ 10 chars
destinationMethodstring
PAYIN destination method, distinct from source method.
destinationAmountnumber
min 0.01
destinationCodestring
≤ 10 chars
destinationDestinationDto
quoteIdstring
≤ 80 chars
reservationIdstring
≤ 80 chars
senderReferencestring
receiverReferencestring
originatorTransactionIdstring
idempotencyKeystring
metadataobject

When type is AFT, also required: method, sourceCountry, destinationCountry, sourceCurrency, destinationCurrency, destinationMethod, destinationAmount.

Responses

GET/api/v1/transactions/{id}

Participant

Parameters

idpath · string · required

Responses

POST/api/v1/transactions/{id}/confirm

Confirm execution of an authorized transaction after the user completed the payment instruction

Second call in the PaySwitch execution handshake. Use it for OTP/USSD, push, QR, PI-SPI, and high-risk pre-payment verification proof. The endpoint is idempotent when the same X-Idempotency-Key and body are retried.

API key + API secretParticipant session

Parameters

idpath · string · required
Switch transaction id
X-Idempotency-Keyheader · string · required
Stable retry key for execution confirmation.

Request body · ExecutionConfirmationDto

evidenceReferencestring
Optional opaque evidence reference. Required when the stored transaction requires customer-action confirmation; Direct Send transactions authorized by PaySwitch must use an empty object and reject self-attested evidence.≤ 256 chars

Responses

  • 200 Execution confirmation accepted or replayed idempotently.
  • 400 Invalid confirmation payload or state.
  • 401 Invalid credentials.
  • 403 Participant is not authorized for this transaction.
  • 409 Idempotency conflict or in-flight duplicate.
POST/api/v1/transactions/{id}/reverse

Request pre-clearing reversal of an authorized transaction

Reversal is available only before clearing. Cleared or settled transactions require ledger-safe adjustment flows.

Participant

Parameters

idpath · string · required

Responses

  • 200 Successful response
  • 400 Bad request
  • 401 Unauthorized
GET/api/v1/transactions/rrn/{rrn}

Participant

Parameters

rrnpath · string · required

Responses

Payment intents

Exact-currency payment intents with planned funding legs. Executing a leg is not provider finality; read the aggregate for the current evidence.

POST/api/v1/participants/me/payment-intents/{paymentIntentId}/authorize-dry-run

OIDC PAYIN authorize dry-run (fail-closed, no money movement)

Exercises subject-gated authorize acknowledgment under NO_REAL_MONEY. Rejects API-key actors. Never dispatches providers or flips money locks.

Participant session

Parameters

paymentIntentIdpath · string (uuid) · required

Responses

  • 200 Dry-run result; dispatch always blocked
  • 403 OIDC owner session required (e.g. D-002 for API keys)
POST/api/v1/payment-intents

Create an exact-currency payment intent

Creates a participant-scoped PaymentIntent aggregate that may later be funded by multiple partial ROOT legs. Requires X-Idempotency-Key.

Participant

Parameters

X-Idempotency-Keyheader · string · required
Required stable retry key for intent creation.
Authorizationheader · string
Bearer participant user access token; owner role is required for user sessions.
X-API-Secretheader · string
Participant API secret when using X-API-Key.
X-API-Keyheader · string
Participant API key. Alternative to Authorization.

Request body · CreatePaymentIntentDto

totalAmountMinorstring · required
Exact total in integer minor units (decimal string).
currencystring · required
Exact funding currency for the intent.
appSlugstring
Participant app slug whose payment-method policy applies to later funding.
metadataobject
Opaque client metadata. Must not carry route or ledger overrides.
allocationsCreatePaymentIntentRecipientAllocationDto[]
Immutable marketplace recipient shares. PaySwitch derives its commission separately.
GET/api/v1/payment-intents/{paymentIntentId}

Get the exact payment intent aggregate

Returns current intent totals/status and planned or observed funding legs for the authenticated participant only.

Participant

Parameters

paymentIntentIdpath · string · required
Payment intent id
Authorizationheader · string
Bearer participant user access token.
X-API-Keyheader · string
Participant API key. Alternative to Authorization.
POST/api/v1/payment-intents/{paymentIntentId}/funding-legs

Add a partial ROOT funding leg

Allocates a planned ROOT funding leg after PaySwitch scores eligible routes and persists the server-owned routing decision. Multiple ROOT legs may fund portions until the exact intent total. Does not dispatch providers.

Participant

Parameters

paymentIntentIdpath · string · required
Payment intent id
X-Idempotency-Keyheader · string · required
Required stable retry key for this ROOT allocation.
Authorizationheader · string
Bearer participant user access token; owner role is required for user sessions.
X-API-Secretheader · string
Participant API secret when using X-API-Key.
X-API-Keyheader · string
Participant API key. Alternative to Authorization.

Request body · AddPaymentIntentFundingLegDto

amountMinorstring · required
Partial ROOT allocation in integer minor units (decimal string).
currencystring · required
countrystring · required
Corridor destination country (ISO-3166 alpha-2).
methodstring · required
Payment method / rail.
appSlugstring
sourceCurrencystring
Funding-source currency. When it differs from the destination allocation currency, a locked FX quote is required.
destinationCurrencystring
Destination allocation currency. Must match amountMinor/currency (intent destination currency).
sourceAmountMinorstring
Exact sell/source amount in integer minor units when funding is cross-currency. Required with quoteId for FX legs.
quoteIdstring
Locked participant-scoped FX quote id. Required for cross-currency legs; forbidden for same-currency legs. Planning verifies but does not consume.
reservationIdstring
FX quote reservation id that must match the locked quote. Required for cross-currency legs; forbidden for same-currency legs.
metadataobject
Opaque client metadata. Must not carry route or ledger overrides.
POST/api/v1/payment-intents/{paymentIntentId}/funding-legs/{parentLegId}/replace

Resume a safe automatic funding fallback

Idempotently resumes server-owned fallback planning after a definitive not-submitted failure. The participant cannot choose retry/reroute or a provider. Optional fresh FX quote fields are accepted when the consumed parent quote cannot be reused. Never reroutes ambiguous, in-flight, captured, successful, or provider-uncertain legs.

Participant

Parameters

paymentIntentIdpath · string · required
Payment intent id
parentLegIdpath · string · required
Failed parent funding leg id to replace
X-Idempotency-Keyheader · string · required
Required stable retry key for this replacement allocation.
Authorizationheader · string
Bearer participant user access token; owner role is required for user sessions.
X-API-Secretheader · string
Participant API secret when using X-API-Key.
X-API-Keyheader · string
Participant API key. Alternative to Authorization.

Request body · ReplacePaymentIntentFundingLegDto

sourceCurrencystring
Funding-source currency for the replacement. Cross-currency replacements must preserve or re-quote the exact parent FX promise.
destinationCurrencystring
Destination allocation currency. Defaults to the parent leg currency and must match the intent destination currency.
sourceAmountMinorstring
Exact sell/source minor units when supplying a fresh FX quote for a cross-currency replacement.
quoteIdstring
Fresh locked FX quote id when the parent quote is no longer usable. Same-currency replacements must omit quote fields.
reservationIdstring
Fresh FX reservation id matching the replacement quote. Required together with quoteId for cross-currency replacements.
metadataobject
Opaque client metadata. Must not carry route or ledger overrides.
POST/api/v1/payment-intents/{paymentIntentId}/funding-legs/execute

Execute one planned funding leg

Revalidates the administered route, takes a durable dispatch claim under the PaymentIntent aggregate lock, optionally consumes a locked FX quote, dispatches Hyperswitch payin for the DB-selected connector, and maps provider evidence to FundingLeg finality. Clients never supply provider, route, MCA, or capability. Never marks success from request acceptance alone.

Participant

Parameters

paymentIntentIdpath · string · required
Payment intent id
X-Request-Context-Leaseheader · string · required
Fresh single-use Service Access lease with PaySwitch audience. PaySwitch consumes it through PARC before ledger or provider mutation.
X-Idempotency-Keyheader · string · required
Required stable retry key for this funding-leg execution.
Authorizationheader · string
Bearer participant user access token; owner role is required for user sessions.
X-API-Secretheader · string
Participant API secret when using X-API-Key.
X-API-Keyheader · string
Participant API key. Alternative to Authorization.

Request body · ExecutePaymentIntentFundingLegDto

fundingLegIdstring
Optional funding leg id to execute. When omitted, PaySwitch selects the next PLANNED leg by sequence.
metadataobject
Opaque client metadata. Must not carry provider, route, MCA, capability, operation, or ledger fields.

Direct Send

Create a Direct Send order backed by a switch transaction, as an API client or as the authenticated participant owner.

POST/api/v1/fx/direct-sends

Create a Direct Send order backed by a Switch Transaction

Direct Send is the customer-facing cross-border payout product. Same-currency orders do not use FX. Cross-currency orders must carry a locked quote/reservation promise; PaySwitch consumes that quote before the transaction continues. The reservation is not a user-held foreign-currency account.

Participant

Parameters

X-Idempotency-Keyheader · string · required
Required stable retry key. If body idempotencyKey is sent, it must match.
Authorizationheader · string
Bearer participant user access token; owner role is required for user sessions.
X-API-Secretheader · string
Participant API secret when using X-API-Key.
X-API-Keyheader · string
Participant API key. Alternative to Authorization.

Request body · DirectSendRequestDto

sourceDirectSendSourceDto · required
destinationDirectSendDestinationDto · required
purposeCodestring · required
participantAppSlugstring
Participant app slug whose payment-method policy applies.
quoteIdstring
Locked quote id from fx-trading.
reservationIdstring
Reservation id attached to the quote.
referencestring
idempotencyKeystring
Body idempotency key; must match header if both are supplied.

Responses

POST/api/v1/participants/me/direct-sends

Create a Direct Send order as the authenticated participant owner

Participant

Parameters

X-Idempotency-Keyheader · string · required
Required stable retry key for participant Direct Send orders.
Authorizationheader · string · required
Bearer participant user access token with owner role

Request body · DirectSendRequestDto

sourceDirectSendSourceDto · required
destinationDirectSendDestinationDto · required
purposeCodestring · required
participantAppSlugstring
Participant app slug whose payment-method policy applies.
quoteIdstring
Locked quote id from fx-trading.
reservationIdstring
Reservation id attached to the quote.
referencestring
idempotencyKeystring
Body idempotency key; must match header if both are supplied.

Responses

FX (optional)

Reference rates are informational. A firm quote has its own expiry; lock, consume and cancel follow the quote contract. Nothing converts unless you ask for it.

POST/api/v1/fx/convert

Participant

Parameters

limitquery · string

Responses

  • 200 Successful response
  • 400 Bad request
  • 401 Unauthorized
POST/api/v1/fx/lock

Participant

Responses

  • 200 Successful response
  • 400 Bad request
  • 401 Unauthorized
POST/api/v1/fx/quote

Participant

Responses

  • 200 Successful response
  • 400 Bad request
  • 401 Unauthorized
GET/api/v1/fx/quotes/{id}

Participant

Parameters

idpath · string · required

Responses

  • 200 Successful response
  • 400 Bad request
  • 401 Unauthorized
POST/api/v1/fx/quotes/{id}/cancel

Participant

Parameters

idpath · string · required

Responses

  • 200 Successful response
  • 400 Bad request
  • 401 Unauthorized
GET/api/v1/fx/rates

Participant

Parameters

limitquery · string

Responses

  • 200 Successful response
  • 400 Bad request
  • 401 Unauthorized
GET/api/v1/fx/rates/{source}/{target}

Participant

Parameters

targetpath · string · required
sourcepath · string · required
limitquery · string

Responses

  • 200 Successful response
  • 400 Bad request
  • 401 Unauthorized
GET/api/v1/fx/rates/history/{source}/{target}

Participant

Parameters

targetpath · string · required
sourcepath · string · required
limitquery · string

Responses

  • 200 Successful response
  • 400 Bad request
  • 401 Unauthorized

Recurring agreements

Mandates, subscriptions and installment plans. Activating an agreement materialises its schedule; it does not collect money by itself.

GET/api/v1/participants/me/installments

List installment plans owned by the authenticated participant

API keyAPI secretParticipant session

Parameters

pagequery · integer
limitquery · integer
sortByquery · string
sortOrderquery · string

Responses

  • 200 Paginated installment plans
POST/api/v1/participants/me/installments

Create an installment plan for the authenticated participant

Records the plan against an existing mandate. Does not debit or unlock money.

API keyAPI secretParticipant session

Parameters

X-Idempotency-Keyheader · string · required

Responses

  • 201 Created installment plan
GET/api/v1/participants/me/installments/{id}

Get one owned installment plan

API keyAPI secretParticipant session

Parameters

idpath · string (uuid) · required

Responses

  • 200 Installment plan
  • 404 Not found in scope
POST/api/v1/participants/me/installments/{id}/activate

Activate PENDING_CONSENT installment (materialize schedules)

Lifecycle only — materializes dues; does not claim PaymentIntents or move money.

API keyAPI secretParticipant session

Parameters

idpath · string (uuid) · required
X-Idempotency-Keyheader · string · required

Responses

  • 200 activate installment
POST/api/v1/participants/me/installments/{id}/cancel

Cancel an installment plan

Lifecycle only — no money movement.

API keyAPI secretParticipant session

Parameters

idpath · string (uuid) · required
X-Idempotency-Keyheader · string · required

Responses

  • 200 cancel installment
POST/api/v1/participants/me/installments/{id}/pause

Pause an ACTIVE installment plan

Lifecycle only — no money movement.

API keyAPI secretParticipant session

Parameters

idpath · string (uuid) · required
X-Idempotency-Keyheader · string · required

Responses

  • 200 pause installment
POST/api/v1/participants/me/installments/{id}/resume

Resume one paused installment plan (PAUSED → ACTIVE)

Lifecycle only — does not rematerialize schedules, claim PaymentIntents, or move money.

API keyAPI secretParticipant session

Parameters

idpath · string (uuid) · required
X-Idempotency-Keyheader · string · required

Responses

  • 200 resume installment
GET/api/v1/participants/me/installments/{id}/schedules

List dues for one owned installment plan

Read-only schedule storyboard. Claim remains admin/ops; money stays locked.

API keyAPI secretParticipant session

Parameters

idpath · string (uuid) · required
pagequery · integer
limitquery · integer
sortByquery · string
sortOrderquery · string

Responses

  • 200 Paginated payment schedules
GET/api/v1/participants/me/mandates

List mandate consents owned by the authenticated participant

Participant mandate inbox with promote/readiness state. Mint/promote remain admin-only.

API keyAPI secretParticipant session

Parameters

pagequery · integer
limitquery · integer
sortByquery · string
sortOrderquery · string
consentTypequery · string
statusquery · string

Responses

  • 200 Paginated mandate consents
GET/api/v1/participants/me/mandates/{id}

Read mandate consent status owned by the authenticated participant

API keyAPI secretParticipant session

Parameters

idpath · string (uuid) · required

Responses

  • 200 Mandate consent
  • 404 Not found in scope
GET/api/v1/participants/me/subscriptions

List subscriptions owned by the authenticated participant

API keyAPI secretParticipant session

Parameters

pagequery · integer
limitquery · integer
sortByquery · string
sortOrderquery · string

Responses

  • 200 Paginated subscriptions
POST/api/v1/participants/me/subscriptions

Create a subscription for the authenticated participant

Records the agreement against an existing mandate. Does not charge, claim, or unlock money.

API keyAPI secretParticipant session

Parameters

X-Idempotency-Keyheader · string · required

Responses

  • 201 Created subscription
GET/api/v1/participants/me/subscriptions/{id}

Get one owned subscription

API keyAPI secretParticipant session

Parameters

idpath · string (uuid) · required

Responses

  • 200 Subscription
  • 404 Not found in scope
POST/api/v1/participants/me/subscriptions/{id}/activate

Activate PENDING_CONSENT subscription (materialize schedules)

Lifecycle only — materializes dues; does not claim PaymentIntents or move money.

API keyAPI secretParticipant session

Parameters

idpath · string (uuid) · required
X-Idempotency-Keyheader · string · required

Responses

  • 200 activate subscription
POST/api/v1/participants/me/subscriptions/{id}/cancel

Cancel a subscription

Lifecycle only — no money movement.

API keyAPI secretParticipant session

Parameters

idpath · string (uuid) · required
X-Idempotency-Keyheader · string · required

Responses

  • 200 cancel subscription
POST/api/v1/participants/me/subscriptions/{id}/pause

Pause an ACTIVE subscription

Lifecycle only — no money movement.

API keyAPI secretParticipant session

Parameters

idpath · string (uuid) · required
X-Idempotency-Keyheader · string · required

Responses

  • 200 pause subscription
POST/api/v1/participants/me/subscriptions/{id}/resume

Resume one paused subscription (PAUSED → ACTIVE)

Lifecycle only — does not rematerialize schedules, claim PaymentIntents, or move money.

API keyAPI secretParticipant session

Parameters

idpath · string (uuid) · required
X-Idempotency-Keyheader · string · required

Responses

  • 200 resume subscription
GET/api/v1/participants/me/subscriptions/{id}/schedules

List dues for one owned subscription

Read-only schedule storyboard. Claim remains admin/ops; money stays locked.

API keyAPI secretParticipant session

Parameters

idpath · string (uuid) · required
pagequery · integer
limitquery · integer
sortByquery · string
sortOrderquery · string

Responses

  • 200 Paginated payment schedules

Settlement and funding reads

Your own settlement positions, prefunding balances and corridor aggregates. A position is an obligation record, not proof that it was discharged.

GET/api/v1/participants/me/corridor-aggregates

Own corridor traffic aggregates from this participant's switch transactions (not route scores)

API keyAPI secretParticipant session

Parameters

windowDaysquery · integer

Responses

GET/api/v1/participants/me/prefunding

Prefunding balance per currency + recent top-ups/withdrawals

Participant

Parameters

limitquery · string · required
GET/api/v1/settlement/positions

Participant

Parameters

pagequery · string
pagequery · string

Responses

External obligations

Declare a debt that originated outside PaySwitch, and acknowledge, contest or withdraw one. Only acknowledged obligations are netted; a contested one stays out of settlement.

GET/api/v1/participants/me/obligations

Obligations this institution owes or is owed (incoming and submitted)

bearer

Parameters

statusquery · string
directionquery · string

Responses

  • 200
POST/api/v1/participants/me/obligations

Declare an obligation that originated outside PaySwitch; the counterparty must acknowledge it

bearer

Parameters

X-Idempotency-Keyheader · string
Replays are keyed by externalReference

Responses

  • 201
GET/api/v1/participants/me/obligations/{id}

GET /participants/me/obligations/{id}

bearer

Parameters

idpath · string · required

Responses

  • 200
POST/api/v1/participants/me/obligations/{id}/acknowledge

POST /participants/me/obligations/{id}/acknowledge

bearer

Parameters

idpath · string · required

Responses

  • 201
POST/api/v1/participants/me/obligations/{id}/contest

POST /participants/me/obligations/{id}/contest

bearer

Parameters

idpath · string · required

Responses

  • 201
POST/api/v1/participants/me/obligations/{id}/withdraw

POST /participants/me/obligations/{id}/withdraw

bearer

Parameters

idpath · string · required

Responses

  • 201

Webhooks

Signing secret rotation, a signed test delivery, and re-queueing a failed or dead delivery. Retries keep the same delivery id.

POST/api/v1/participants/me/webhooks/deliveries/{id}/replay

Re-queue a failed/dead webhook delivery for another attempt (owner-only)

Participant

Parameters

idpath · string · required
X-Idempotency-Keyheader · string · required
Stable retry key for this owner-scoped webhook replay.

Responses

POST/api/v1/participants/me/webhooks/signing-secret/rotate

Issue a new webhook signing secret (owner-only). Shown once; the previous secret stops verifying immediately.

Participant

Responses

  • 201
POST/api/v1/participants/me/webhooks/test

Send one signed PING to the configured notification endpoint and report the endpoint response (owner-only).

Participant

Responses

  • 201

Health

Liveness and readiness of the API you are connected to.

GET/api/v1/health

Public

Responses

  • 200 Successful response
  • 400 Bad request
  • 401 Unauthorized
GET/api/v1/health/ready

Public

Responses

  • 200 Successful response
  • 400 Bad request
  • 401 Unauthorized

Schemas

AddPaymentIntentFundingLegDto

amountMinorstring · required
Partial ROOT allocation in integer minor units (decimal string).
currencystring · required
countrystring · required
Corridor destination country (ISO-3166 alpha-2).
methodstring · required
Payment method / rail.
appSlugstring
sourceCurrencystring
Funding-source currency. When it differs from the destination allocation currency, a locked FX quote is required.
destinationCurrencystring
Destination allocation currency. Must match amountMinor/currency (intent destination currency).
sourceAmountMinorstring
Exact sell/source amount in integer minor units when funding is cross-currency. Required with quoteId for FX legs.
quoteIdstring
Locked participant-scoped FX quote id. Required for cross-currency legs; forbidden for same-currency legs. Planning verifies but does not consume.
reservationIdstring
FX quote reservation id that must match the locked quote. Required for cross-currency legs; forbidden for same-currency legs.
metadataobject
Opaque client metadata. Must not carry route or ledger overrides.

CreatePaymentIntentDto

totalAmountMinorstring · required
Exact total in integer minor units (decimal string).
currencystring · required
Exact funding currency for the intent.
appSlugstring
Participant app slug whose payment-method policy applies to later funding.
metadataobject
Opaque client metadata. Must not carry route or ledger overrides.
allocationsCreatePaymentIntentRecipientAllocationDto[]
Immutable marketplace recipient shares. PaySwitch derives its commission separately.

CreatePaymentIntentRecipientAllocationDto

participantIdstring · required
Canonical recipient participant UUID.
accountReferencestring · required
Exact-currency participant ledger account UUID.
amountMinorstring · required
Recipient share in exact integer minor units.

CreatePaymentLinkCheckoutDto

providerOptionIdstring · required
Opaque payment option from the capability-scoped hosted checkout.≤ 80 chars
methodstring · required
Customer-selected payment method. PaySwitch resolves the provider route itself.≤ 48 chars

CreatePaymentLinkDto

titlestring · required
The title of the entity≤ 255 chars
amountMinorstring · required
Exact amount in integer minor units.pattern ^[1-9][0-9]{0,23}$
currencystring · required
The currency of the entity≤ 3 chars · pattern ^[A-Z]{3}$
countrystring · required
The country of the entity≤ 2 chars · pattern ^[A-Z]{2}$
appSlugstring · required
The app slug of the entity≤ 80 chars · pattern ^[a-zA-Z0-9_-]+$
expiresAtstring (date-time) · required
The expires at of the entity
maxPaymentsnumber · required
The max payments of the entitymin 1 · max 1000000
descriptionstring
The description of the entity≤ 10000 chars
returnUrlstring (uri)
The return url of the entity≤ 2048 chars
cancelUrlstring (uri)
The cancel url of the entity≤ 2048 chars
paymentPolicyobject
The payment policy of the entity

CreatePaymentLinkResponse

tokenstring · required
≤ 43 chars
hostedCheckoutUrlstring · required

DestinationDto

typestring · required
One of: PARTICIPANT_CODEMSISDNWALLET_IDACCOUNT_NUMBEREMAIL
valuestring · required
≤ 128 chars

DirectSendAccountDto

typestring · required
valuestring · required
holderNamestring

DirectSendDestinationDto

countrystring · required
railstring · required
One of: CARDMOBILE_MONEYEWALLETBANK_TRANSFERCRYPTO
amountCurrencystring · required
accountDirectSendAccountDto · required
amountnumber | string
Quoted destination amount the beneficiary should receive.

DirectSendDestinationResponseDto

valuenumber | string (decimal) · required
Legacy-compatible amount. Use the exact money object for authoritative arithmetic.
currencystring · required
countryobject | null
railobject | null
accountobject | null
Redacted beneficiary account summary. Provider account values are never returned.

DirectSendExactMoneyValueDto

valuestring (decimal) · required
minorUnitsstring · required
pattern ^-?[0-9]+$
currencystring · required
precisionnumber · required

DirectSendFxLifecycleResponseDto

requiredboolean · required
statusstring · required
One of: NOT_REQUIREDPENDING_CONSUME
quoteIdobject | null
reservationIdobject | null
messagestring

DirectSendLegacyAmountDto

valuenumber | string (decimal) · required
Legacy-compatible amount. Use the exact money object for authoritative arithmetic.
currencystring · required

DirectSendMoneyResponseDto

sourceAmountDirectSendExactMoneyValueDto · required
destinationAmountDirectSendExactMoneyValueDto · required

DirectSendPartyDto

typestring · required
externalIdstring · required
bankLinkBeneficiaryIdstring (uuid)
Opaque beneficiary id issued by BankLink for a bank-transfer route. It is distinct from the participant-owned externalId.
bankLinkBeneficiaryReferencestring
Opaque beneficiary reference issued with bankLinkBeneficiaryId by BankLink.

DirectSendProviderResponseDto

displayNameobject | null

DirectSendRequestDto

sourceDirectSendSourceDto · required
destinationDirectSendDestinationDto · required
purposeCodestring · required
participantAppSlugstring
Participant app slug whose payment-method policy applies.
quoteIdstring
Locked quote id from fx-trading.
reservationIdstring
Reservation id attached to the quote.
referencestring
idempotencyKeystring
Body idempotency key; must match header if both are supplied.

DirectSendResponseDto

administeredboolean · required
directSendIdstring · required
switchTransactionIdstring (uuid) · required
statusstring · required
nextActionstring · required
One of: COMPLETE_PRE_PAYMENT_VERIFICATIONAWAIT_AUTHORIZATIONCONFIRM_EXECUTIONAWAIT_FINALITYNONE
fxLifecycleDirectSendFxLifecycleResponseDto · required
providerDirectSendProviderResponseDto · required
sourceDirectSendLegacyAmountDto · required
destinationDirectSendDestinationResponseDto · required
moneyContractVersionstring · required
One of: decimal-string-v1
traceIdstring · required
publicInstructionobject | null
prePaymentVerificationobject | null
quoteIdobject | null
reservationIdobject | null

DirectSendSourceDto

amountnumber | string · required
currencystring · required
countrystring · required

ExecutePaymentIntentFundingLegDto

fundingLegIdstring
Optional funding leg id to execute. When omitted, PaySwitch selects the next PLANNED leg by sequence.
metadataobject
Opaque client metadata. Must not carry provider, route, MCA, capability, operation, or ledger fields.

ExecutionConfirmationDto

evidenceReferencestring
Optional opaque evidence reference. Required when the stored transaction requires customer-action confirmation; Direct Send transactions authorized by PaySwitch must use an empty object and reject self-attested evidence.≤ 256 chars

InitiateTransactionDto

typestring · required
One of: OCTAFT
amountnumber · required
min 0.01
currencystring · required
≤ 10 chars
methodstring
Payment method/channel. If omitted, PaySwitch may route by policy.
participantAppSlugstring
≤ 80 chars
appSlugstring · deprecated
Deprecated alias for participantAppSlug.≤ 80 chars
sourceCountrystring
Required server-sealed PAYIN source-country material.pattern ^[A-Za-z]{2}$
destinationCountrystring
Required server-sealed PAYIN destination-country material.pattern ^[A-Za-z]{2}$
sourceCurrencystring
≤ 10 chars
destinationCurrencystring
≤ 10 chars
destinationMethodstring
PAYIN destination method, distinct from source method.
destinationAmountnumber
min 0.01
destinationCodestring
≤ 10 chars
destinationDestinationDto
quoteIdstring
≤ 80 chars
reservationIdstring
≤ 80 chars
senderReferencestring
receiverReferencestring
originatorTransactionIdstring
idempotencyKeystring
metadataobject

When type is AFT, also required: method, sourceCountry, destinationCountry, sourceCurrency, destinationCurrency, destinationMethod, destinationAmount.

OwnCorridorAggregateItem

corridorstring · required
transactionCountinteger · required
settledCountinteger · required
asOriginatorCountinteger · required
asDestinationCountinteger · required
volumeByCurrencyOwnCorridorAggregateVolume[] · required

OwnCorridorAggregatesResponse

windowDaysinteger · required
min 1 · max 90
generatedAtstring (date-time) · required

OwnCorridorAggregateVolume

currencystring · required
≤ 10 chars
amountnumber · required

PaginatedSettlementPositionResponseDto

totalinteger · required
pageinteger · required
min 1
limitinteger · required
min 1
totalPagesinteger · required

PaginatedTransactionResponseDto

dataTransactionResponseDto[] · required
totalinteger · required
pageinteger · required
min 1
limitinteger · required
min 1
totalPagesinteger · required

ParticipantPrefundingBalanceDto

currencystring · required
balancenumber · required

ParticipantPrefundingEntryDto

idstring (uuid) · required
typestring · required
One of: TOP_UPWITHDRAWALSETTLEMENT_DEBITSETTLEMENT_CREDITADJUSTMENT
amountnumber · required
balanceAfternumber · required
currencystring · required
createdAtstring (date-time) · required

ParticipantPrefundingResponseDto

enabledstring[] · required
supportedstring[] · required

ParticipantSettlementPositionResponseDto

cycleIdstring (uuid) · required
cycleDatestring (date) · required
currencystring · required
grossInnumber · required
grossOutnumber · required
netnumber · required
statusstring · required
usdcAmountnumber | null
fxRatenumber | null

PaymentIntentAggregateResponseDto

paymentIntentIdstring · required
rootCorrelationReferencestring · required
Immutable root shared by bound generic transaction reads and all PaymentIntent funding lineage.
referencestring · required
statusstring · required
totalAmountMinorstring · required
fundedAmountMinorstring · required
reversedAmountMinorstring · required
remainingAmountMinorstring · required
unresolvedAmountMinorstring · required
currencystring · required
allocationsPaymentIntentAllocationPublicDto[] · required
fundingLegsPaymentIntentFundingLegPublicDto[] · required
replayedboolean · required
True when an identical idempotent mutation was replayed.

PaymentIntentAllocationPublicDto

allocationIdstring · required
sequencenumber · required
kindstring · required
One of: RECIPIENTSWITCH_COMMISSION
amountMinorstring · required
currencystring · required
recipientParticipantIdobject | null
recipientAccountReferenceobject | null

PaymentIntentFundingLegPublicDto

idstring · required
rootCorrelationReferencestring · required
Immutable PaymentIntent root shared by the generic transaction binding and every retry/reroute leg.
referencestring · required
sequencenumber · required
lineageTypestring · required
One of: ROOTRETRYREROUTE
parentLegIdobject | null · required
allocationIdstring · required
amountMinorstring · required
currencystring · required
methodstring · required
statusstring · required
operationIdstring · required
Stable PaySwitch operation reference.
ledgerReservationReferencestring · required
PaySwitch ledger reservation reference for the allocation.
failureDispositionobject | null · required
createdAtstring · required
updatedAtstring · required
attemptIdobject | null
Provider attempt reference when execution was submitted.
providerReferenceobject | null
Provider evidence reference. Its presence does not imply PaySwitch ledger or settlement finality.
ledgerPostingReferenceobject | null
Authoritative PaySwitch posting reference. CAPTURED legs must keep this null.
ledgerReversalReferenceobject | null
Authoritative PaySwitch reversal posting reference when reversed.

PaymentLinkCancelResponse

checkoutIdstring (uuid) · required
statusstring · required
One of: cancelled
cancelUrlstring (uri) | null

PaymentLinkCheckoutPublicResponse

checkoutIdstring (uuid) · required
paymentIntentIdstring (uuid) · required
replayedboolean · required
statusstring · required
One of: plannedexecutingexecution_submitted
paymentIntentobject

PaymentLinkOwnerProjection

publicIdstring (uuid) · required
titlestring · required
amountMinorstring · required
pattern ^[1-9][0-9]{0,23}$
currencystring · required
pattern ^[A-Z]{3}$
countrystring · required
pattern ^[A-Z]{2}$
expiresAtstring (date-time) · required
statusstring · required
One of: activeexpireddisabled
remainingPaymentsinteger · required
idstring (uuid) · required
appSlugstring · required
maxPaymentsinteger · required
min 1
paymentCountinteger · required
descriptionstring | null
returnUrlstring (uri) | null
cancelUrlstring (uri) | null
paymentPolicyobject | null

PaymentLinkOwnerStatusResponseDto

checkoutIdstring (uuid) · required
checkoutStatusstring · required
One of: createdplannedexecutingcompletedcancelled
paymentIntentIdstring (uuid) | null · required
paymentIntentStatusstring | null · required
One of: PENDINGPROCESSINGPARTIALLY_FUNDEDREQUIRES_RECONCILIATIONCOMPENSATINGCOMPLETEDREVERSEDFAILEDCANCELLED
isFinalboolean | null · required
Null before a PaymentIntent is bound; otherwise derived from PaySwitch persisted finality only.

PaymentLinkPublicResponse

publicIdstring (uuid) · required
titlestring · required
amountMinorstring · required
pattern ^[1-9][0-9]{0,23}$
currencystring · required
pattern ^[A-Z]{3}$
countrystring · required
pattern ^[A-Z]{2}$
expiresAtstring (date-time) · required
statusstring · required
One of: activeexpireddisabled
remainingPaymentsinteger · required
paymentOptionsobject[] · required
descriptionstring | null

QuoteRequestDto

ReplacePaymentIntentFundingLegDto

sourceCurrencystring
Funding-source currency for the replacement. Cross-currency replacements must preserve or re-quote the exact parent FX promise.
destinationCurrencystring
Destination allocation currency. Defaults to the parent leg currency and must match the intent destination currency.
sourceAmountMinorstring
Exact sell/source minor units when supplying a fresh FX quote for a cross-currency replacement.
quoteIdstring
Fresh locked FX quote id when the parent quote is no longer usable. Same-currency replacements must omit quote fields.
reservationIdstring
Fresh FX reservation id matching the replacement quote. Required together with quoteId for cross-currency replacements.
metadataobject
Opaque client metadata. Must not carry route or ledger overrides.

SettlementPositionResponseDto

idstring · required
settlementCycleIdstring · required
participantIdstring · required
participantCodestring · required
currencystring · required
precisioninteger · required
max 18
statusstring · required
moneyContractVersionstring · required
One of: decimal-string-v1
moneyobject · required
transactionCountinteger
grossSentnumber · deprecated
Legacy numeric compatibility field. It is emitted only when the canonical decimal round-trips through a safe integer minor-unit representation; use the versioned money companion as authority.
grossReceivednumber · deprecated
Legacy numeric compatibility field. It is emitted only when the canonical decimal round-trips through a safe integer minor-unit representation; use the versioned money companion as authority.
feesCollectednumber · deprecated
Legacy numeric compatibility field. It is emitted only when the canonical decimal round-trips through a safe integer minor-unit representation; use the versioned money companion as authority.
feesOwednumber · deprecated
Legacy numeric compatibility field. It is emitted only when the canonical decimal round-trips through a safe integer minor-unit representation; use the versioned money companion as authority.
netPositionnumber · deprecated
Legacy numeric compatibility field. It is emitted only when the canonical decimal round-trips through a safe integer minor-unit representation; use the versioned money companion as authority.min -9007199254740991
usdcAmountnumber | null · deprecated
Legacy numeric compatibility field. It is emitted only when the canonical decimal round-trips through a safe integer minor-unit representation; use the versioned money companion as authority.
disbursementReferencestring | null
disbursementAttemptsinteger
nextRetryAtstring (date-time) | null
confirmedReferencestring | null
confirmedBystring | null
confirmedAtstring (date-time) | null
fxRatenumber · deprecated
Legacy numeric FX-rate compatibility field. It is emitted only when fxRateExact round-trips without decimal drift; use fxRateExact as authority.
fxRateExactstring
pattern ^(?:0|[1-9][0-9]*)(?:\.[0-9]+)?$
fxRateSourcestring | null
createdAtstring (date-time)

TransactionInitiationResponseDto

idstring · required
rrnstring · required
stanstring · required
typestring · required
statusstring · required
currencystring · required
initiatedAtstring (date-time) · required
expiresAtstring (date-time) · required
nextActionstring · required
moneyobject · required
amountnumber · deprecated
Legacy numeric compatibility field. It is emitted only when the canonical decimal round-trips through a safe integer minor-unit representation; use the versioned money companion as authority.
switchFeenumber · deprecated
Legacy numeric compatibility field. It is emitted only when the canonical decimal round-trips through a safe integer minor-unit representation; use the versioned money companion as authority.
settlementAmountnumber · deprecated
Legacy numeric compatibility field. It is emitted only when the canonical decimal round-trips through a safe integer minor-unit representation; use the versioned money companion as authority.
originatorCodestring
destinationCodestring
publicInstructionobject | null
prePaymentVerificationobject | null

TransactionResponseDto

idstring · required
switchTransactionIdstring · required
typestring · required
statusstring · required
currencystring · required
originatorParticipantCodestring · required
destinationParticipantCodestring · required
moneyobject · required
createdAtstring (date-time) · required
amountnumber · deprecated
Legacy numeric compatibility field. It is emitted only when the canonical decimal round-trips through a safe integer minor-unit representation; use the versioned money companion as authority.
settlementAmountnumber · deprecated
Legacy numeric compatibility field. It is emitted only when the canonical decimal round-trips through a safe integer minor-unit representation; use the versioned money companion as authority.
settlementCurrencystring
switchFeenumber · deprecated
Legacy numeric compatibility field. It is emitted only when the canonical decimal round-trips through a safe integer minor-unit representation; use the versioned money companion as authority.
declineCodestring
declineReasonstring
authorizedAtstring (date-time)
settledAtstring (date-time)
traceobject

WebhookReplayResponseDto

idstring (uuid) · required
statusstring · required
One of: RETRYING
requeuedboolean · required