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
Authorizations
Headers
Body
Amount intended to be collected by this payment
1"10.50"
Three-letter ISO currency code, in lowercase. Must be a supported currency
1"USD"
3ds settings
Should the payment be captured immediately, if set to false an authorization will be performed instead
Information about your customer
Meld's internal Id for the Customer
A description about the transaction
Your (optional) Id for this customer, for example an id or reference from your database which you may supply during customer creation
A payment method nonce is a secure, one-time-use reference to payment information. It's the key element that allows your server to communicate sensitive payment information to the service provider without ever touching the raw data.
PaymentMethod objects represent your customer's payment instruments.
The service provider used for this transaction. Required when using a nonce or passthrough credentials, as they are tied to a specific service provider. Do not pass this in if you would like to use routing to select a service provider.
AUTHORIZENET, BRAINTREE, CHECKOUT, CIRCLE, NMI, STRIPE Provider specific details which may can be provided for this transaction, if supported by the Service Provider. For example, you can set a custom billing descriptor for your transaction using Checkout.com
Response
Payment transaction created successfully
Payment transaction information