Payments: Authorize

This API allows you to authorize an amount against an Access Token before capturing the actual payment. This API is valid for an Access Token with the preapproval scope.

Note: This is a Bearer Authorized call.

Authorize a Payment

Parameter Required Type Description
client_id yes String The client id issued to your Sign2Pay Client Application.
amount yes Integer The amount in cents you would like to authorize.

Request Headers & Body

Accept: */*
Accept-Encoding: gzip, deflate
Content-Type: application/json
Authorization: Bearer d81ff0f3f961e7c387bd928942e062b59cb237c9d595ed9afcd9eca320356199
Accept-Language: en-us

  "amount": 500,
  "client_id": "c509fd593742b6b08adf4f0b41a4801c"

Response Body

  "authorization_id": "8654d71e38a2ce4cdd6872f0e76ea981",
  "amount_requested": 500,
  "amount_approved": 500,
  "status": "approved",
  "expires": "2016-02-05T11:28:01.296+01:00"
This authorization_id will expire in 60 minutes.

Stuck on Something?

Be sure to check our FAQs, Support, or Contact Us directly.