Create payment

Creates a payment from a customer to a merchant. <Note title="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

idempotency_keystringRequired>=1 character<=64 characters

A unique identifier which can be used by Cash App to de-duplicate retries of this request, making it idempotent. Learn more about idempotency in the API.

paymentobjectRequired
Data about the payment to create.

Response

Created
paymentobject or null

Errors