Offramp
Create payment
Create a new payment
POST
/
payment
Authorizations
X-Api-User
string
headerrequiredX-Api-Key
string
headerrequiredX-User-Version
string
headerrequiredBody
application/json
businessId
string
requiredThe business id
incomingCurrency
string
requiredThe incoming currency
outgoingCurrency
string
requiredThe outgoing currency
customerEmail
string
requiredThe rate key
paymentType
string
requiredThe payment type
reference
string
The reference
incomingAmount
number
The incoming amount
outgoingAmount
number
The outgoing amount
rateKey
string
The rate key
coinprofileUsername
string
The coinprofile username. Required when paymentType is profile
country
string
The country. Required when paymentType is bank
accountNumber
string
The account number. Required when paymentType is bank
accountName
string
The account name. Required when paymentType is bank
bank
string
The bank name. Required when paymentType is bank
bankCode
string
The bank code. Required when paymentType is bank
Response
200 - application/json
success
boolean
message
string
data
object