Credit
Changed onRequest
- Base URLhttps://api.centrobill.com
- URLhttps://api.centrobill.com/payment/{id}/credit
- AuthAPI key in header Authorization
Path parameters
Transaction that should be credited
Headers
Unique ID of request
Request body
Example request
{
"amount": 9.99,
"reason": "Retention offer",
"sendIpn": true
}Response
Created
Example response
{
"payment": {
"description": "APPROVED",
"action": "credit",
"mode": "refund",
"status": "success",
"amount": 9.99,
"currency": "USD",
"transactionId": "12345",
"parentTransactionId": "735101832",
"descriptor": "centrohelp.com",
"source": {
"method": "card",
"number": "4024******6348",
"brand": "visa",
"bankName": "BENDIGO AND ADELAIDE BANK, LTD",
"bankCountry": "AUS",
"paymentAccountId": "d86bdcbb-c369-46d9-a9d0-9c5010e3bfdb",
"timestamp": {
"dateTime": "2020-04-17 13:43:02",
"timezone": "UTC+02.00",
"unixTime": "1637063718"
}
}
}
}Changes
- warning
added the new
blikenum value to the//response property for the response status - warning
added the new
cashappenum value to the//response property for the response status - warning
added the new
duitnowenum value to the//response property for the response status - warning
added the new
gojekidenum value to the//response property for the response status - warning
added the new
netellerenum value to the//response property for the response status - warning
added the new
offlinebankingenum value to the//response property for the response status - warning
added the new
pagoenum value to the//response property for the response status - warning
added the new
payconiqenum value to the//response property for the response status - warning
added the new
paynowenum value to the//response property for the response status - warning
added the new
promptpayenum value to the//response property for the response status - warning
added the new
rapidenum value to the//response property for the response status - warning
added the new
tossenum value to the//response property for the response status - warning
added the new
trustlyenum value to the//response property for the response status - warning
added the new
viettelpayenum value to the//response property for the response status - info
added the new optional request property
- info
removed the
banktransferChileenum value from the//response property for the response status
- warning