curl --request POST \
--url https://staging-biz.coinprofile.co/v2/payment \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-User: <api-key>' \
--header 'X-User-Version: <api-key>' \
--data '{
"businessId": "<string>",
"reference": "<string>",
"incomingAmount": 123,
"outgoingAmount": 123,
"incomingCurrency": "<string>",
"outgoingCurrency": "<string>",
"rateKey": "<string>",
"customerEmail": "<string>",
"paymentType": "<string>",
"coinprofileUsername": "<string>",
"country": "<string>",
"accountNumber": "<string>",
"accountName": "<string>",
"bank": "<string>",
"bankCode": "<string>"
}'
{
"success": true,
"message": "<string>",
"data": {
"incomingAmount": 123,
"outgoingAmount": 123,
"confirmedAmount": 123,
"unconfirmedAmount": 123,
"state": "<string>",
"_id": "<string>",
"businessId": "<string>",
"reference": "<string>",
"incomingCurrency": "<string>",
"outgoingCurrency": "<string>",
"expTime": "<string>",
"address": "<string>",
"customerEmail": "<string>",
"paymentType": "<string>",
"account": "<string>",
"rate": 123,
"threadTS": "<string>",
"senderUsername": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
Create a new payment
curl --request POST \
--url https://staging-biz.coinprofile.co/v2/payment \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Api-User: <api-key>' \
--header 'X-User-Version: <api-key>' \
--data '{
"businessId": "<string>",
"reference": "<string>",
"incomingAmount": 123,
"outgoingAmount": 123,
"incomingCurrency": "<string>",
"outgoingCurrency": "<string>",
"rateKey": "<string>",
"customerEmail": "<string>",
"paymentType": "<string>",
"coinprofileUsername": "<string>",
"country": "<string>",
"accountNumber": "<string>",
"accountName": "<string>",
"bank": "<string>",
"bankCode": "<string>"
}'
{
"success": true,
"message": "<string>",
"data": {
"incomingAmount": 123,
"outgoingAmount": 123,
"confirmedAmount": 123,
"unconfirmedAmount": 123,
"state": "<string>",
"_id": "<string>",
"businessId": "<string>",
"reference": "<string>",
"incomingCurrency": "<string>",
"outgoingCurrency": "<string>",
"expTime": "<string>",
"address": "<string>",
"customerEmail": "<string>",
"paymentType": "<string>",
"account": "<string>",
"rate": 123,
"threadTS": "<string>",
"senderUsername": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
successful operation
The response is of type object
.