Create payment

Creates a payment from a customer to a merchant. <Note> Creating a payment requires a grant that is associated with the `ON_FILE_PAYMENT` or `ONE_TIME_PAYMENT` actions. To generate a grant, use the Customer Request API. </Note> **This endpoint is not rate limited.** Scopes: `PAYMENTS_WRITE`

Headers

AcceptstringRequired
X-RegionstringRequired
X-SignaturestringRequired
User-AgentstringRequired

Request

This endpoint expects an object.
idempotency_keystringRequired1-64 characters

A unique identifier which can be used by Cash App to de-duplicate retries of this request, making it idempotent. For more information, see Idempotency.

paymentobjectRequired
Data about the payment to create.

Response

Created
paymentobjectOptional

Errors

400
Create Payment Request Bad Request Error