Create Payment

Create a payment request for a platform account in order to receive funds from an external third party.

SecurityOAuth2: OAuth2Flow
Request
header Parameters
Authorization
string

OAuth bearer token (see authentication flows)

x-l2f-request-id
string

Optional Unique ID per request, useful for fault resolution/diagnosis and audit.

x-l2f-idempotency-id
string

Unique ID used to safely retry an operation. See idempotency section for more details.

Request Body schema: application/json
required
required
PaymentSourceCounterparty (object) (PaymentSource)

Source of funds for the payment request

required
PaymentDestinationAccount (object) (PaymentDestination)

Ultimate destination of funds for the payment request

required
object (PaymentInfo)

Payment information

Responses
200

Success

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Error

post/v1/payments
Request samples
application/json
{
  • "payment_source": {
    },
  • "payment_destination": {
    },
  • "payment_info": {
    }
}
Response samples
application/json
{
  • "data": {
    }
}
© 2024 Rail. All Rights Reserved.