Creates a new payment request in VertoFx (v2 API).
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/integrations/vertofx/payment-requests/v2 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 1000,
"currency": "USD",
"beneficiary": "beneficiary_123",
"purposeCode": "INV"
}'
{
"id": "req_123456",
"status": "pending",
"amount": 1000,
"currency": "USD"
}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Payment request created
The response is of type object
.
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/integrations/vertofx/payment-requests/v2 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 1000,
"currency": "USD",
"beneficiary": "beneficiary_123",
"purposeCode": "INV"
}'
{
"id": "req_123456",
"status": "pending",
"amount": 1000,
"currency": "USD"
}