Transactions
Create a payment transaction
Use this endpoint to create a payment transaction. You can find sample code in our public Postman collection, or build it in the adjacent API explorer. The link to our postman collection is: https://www.postman.com/meldeng/workspace/meld-io-public-api-collection
IDEMPOTENT REQUESTS: Please refer to Idempotency Key
PASSTHROUGH ENABLED REQUESTS: Please refer to Passthrough Headers
ERRORS: Please refer to Error Responses
post/payments/transactions
Headers
X-Idempotency-Keystring uuid
Meld-Passthrough-Referencestring
Meld-Passthrough-Key-Idstring
Meld-Passthrough-Key-Publicstring
Meld-Passthrough-Key-Privatestring
Meld-Passthrough-Oauthstring
Request body
Example request
{
"paymentMethod": {
"details": {
"cvc": "123",
"number": "4111111111111111"
}
},
"sourceAmount": "10.50",
"sourceCurrencyCode": "USD"
}Response
Payment transaction created successfully