Rebilling Payment

You can rebill an existing card via the token system.

  • Using the Headless integration you must create a PaymentRequest with the tokenize_payment field as true
  • When the payment has successfully been processed you will get a card_payment_completed postback supplied will be a token for you to use.
  • Using the Token provided on the previous webhook you can recharge the token.

Creating A New Payment from a Token{token}/rebill (Full example: docs)

curl --location --request POST '{token}/rebill' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer {AUTH_TOKEN}' \
  --data-raw '{
    "application_key": "{APPLICATION_KEY}",
    "amount": "120",
    "country_code": "GB",
    "currency": "GBP",
    "description" : "Product Description",
    "options": "optional string",
    "reference_id": 12312312,

Returned Postbacks