Test payment data

Update balance of the test payment data

put/testPaymentData/{id}/balance

Request

  • Base URL
    https://api.centrobill.com
  • URL
    https://api.centrobill.com/testPaymentData/{id}/balance
  • Auth
    API key in header Authorization

Path parameters

idstring required

Request body

balanceinteger

Desired balance of the test payment data

Response

OK

idstring

Unique test payment ID

typestring

Test payment data type

emulate3dsboolean

Set to <b>true</b> to emulate the 3DS or SCA authentication process for this transaction

numberstring

Test payment data

balanceinteger

Test payment data balance

blockedboolean

Set to <b>true</b> to emulate blocked payment amount

allowedIpsstring[]

List of allowed IPs

createdAtinteger

Date when test payment details were created

updatedAtinteger

Date when test payment details were updated

commentstring

Comment for additional context

Example response

{
  "type": "visa",
  "number": "4024007179366348",
  "balance": 44
}

Changes

No recorded changes to this operation across all 2 revisions of this API.