Skip to navigation

Create payout

View as Markdown

Payouts API

This endpoint allows you to create a new payout by submitting the necessary details regarding the transaction.

HTTP Method

POST

Endpoint

{{url}}/api/v1/payouts

Request Body

FieldTypeRequiredDescription
requestIdstringYesA unique request ID is specified by the client in the request.
pspIdstringNo, if not provided will use pspSelection logic to choose PSP based on routing ruleThe ID of the Payment Service Provider
manisPaymentMethodNamestringYesa payment method name of Manis definition
amountdecimalYesSender amount
fundingCurrencystringYesThe currency in which the payout is funded (e.g., “SGD”).
customerIdstringYesThe unique identifier for the customer making the payout
beneficiaryIdstringYesThe unique identifier for the beneficiary receiving the payout
paymentTypestringYesThe type of payment used for the payout
Enum: WALLET
CARD
CASH
GLOBAL_TRANSFER
LOCAL_TRANSFER
GLOBAL_TRANSFER_FAST
LOCAL_TRANSFER_FAST
SWIFT
PROXY
walletTypestringConditional(Nium only)Specifies the type of wallet supported for the payment method. It depends on the country and currency, with different wallets available for each country.
Possible Values:

China: Alipay

Indonesia: OVO, GOPAY, DANA, LINKAJA, SHOPEEPAY

Philippines: GCASH, PAYMAYA, SHOPEEPAY, STARPAY, TAYOCASH, PALAWANPAY, LULU, USSC, GRABPAY, MAYA, BAYAD, COINSPH, JUANCASH, IREMIT
purposeCodestringConditionalThe purpose for the payment, i.e. SELF
descriptionstringYes(Nium Only)Payment Narration.
beneficiaryAmountstringNoThe amount of money that the beneficiary will receive
sourceOfFundsstringConditional(Nium Only)source of funds
webhookUrlstringNoHTTPS endpoint to receive async payout status updates via POST

Response Body

200 OK

FieldTypeDescription
manisTransactionIdstringID of payout request in manis
pspPayoutIdstringPayout request id in PSP
beneficiaryIdstringBeneficiary id
paymentTypestringThe method used for the payout
Enum: WALLET
CARD
CASH
GLOBAL_TRANSFER
LOCAL_TRANSFER
GLOBAL_TRANSFER_FAST
LOCAL_TRANSFER_FAST
SWIFT
PROXY
walletTypestringSpecifies the type of wallet supported for the payment method. It depends on the country and currency, with different wallets available for each country
transactionobject
└─idstringID of transaction in Manis
└─requestIdstringThe client specifies a unique request ID in the request.
└─customerIdstringID of the customer
└─merchantIdstringID of the merchant
└─pspIdstringID of the PSP
└─paymentTypestringThe type of payment used for the payout
Enum: WALLET
CARD
CASH
GLOBAL_TRANSFER
LOCAL_TRANSFER
GLOBAL_TRANSFER_FAST
LOCAL_TRANSFER_FAST
SWIFT
PROXY
└─statusstringStatus of payout
PENDING
COMPLETED
FAILED
EXPIRED
REFUNDED
CANCELLED
└─currencystringCurrency
└─amountdecimalAmount of transaction
└─descriptionstringDescription
└─lastStatusUpdatedAtdate(yyyy-MM-dd’T’HH:mm:ss.SSS’Z’)Last time update status
└─createdBystring
└─createdAtdate(yyyy-MM-dd’T’HH:mm:ss.SSS’Z’)
└─updatedBystring
└─updatedAtdate(yyyy-MM-dd’T’HH:mm:ss.SSS’Z’)
createdBystring
createdAtdate(yyyy-MM-dd’T’HH:mm:ss.SSS’Z’)
updatedBystring
updatedAtdate(yyyy-MM-dd’T’HH:mm:ss.SSS’Z’)

400 BAD REQUEST

FieldType
typestring
statusnumber
timestampdate(yyyy-MM-dd’T’HH:mm:ss.SSS’Z’)
titlestring
soaCodestring
fieldErrorsarray
└─ objectstring
└─ fieldstring
└─ rejectedValuestring
└─ messagestring

401 UNAUTHORIZED

Request

This endpoint expects a string.

Response

OK
createdAtdatetime
createdBystring
updatedAtdatetime
updatedBystring
pspPayoutIdstring
transactionobject
beneficiaryIdstring
pspPayoutMethodstring
manisTransactionIdstring