Create payment Credit Card
Credit Card Payment
Header Parameters
- X-TIMESTAMP string required
ISO 8601 timestamp
- X-SIGNATURE string required
Signature
- X-PARTNER-ID string required
Partner ID
- X-EXTERNAL-ID string required
External ID
- CHANNEL-ID string required
Channel ID
- application/json
Request Body required
- partnerReferenceNo string
amount object
value stringcurrency stringurlParam object[]
Array [url stringtype stringisDeeplink string]- validUpTo string
additionalInfo object
channel stringPossible values: [
CC
]customerPhone stringcustomerName string
Responses
- 200
- 400
- 401
- 404
- 409
- 500
Sukses create Credit Card
- application/json
- Schema
- Example (from schema)
Schema
- responseCode string
- responseMessage string
- partnerReferenceNo string
- appRedirectUrl string
- webRedirectUrl string
additionalInfo object
contractId stringexpiredTime stringchannel string
{
"responseCode": "2005400",
"responseMessage": "Success",
"partnerReferenceNo": "ref-0000000-0417",
"appRedirectUrl": "",
"webRedirectUrl": "https://kr9bp.app.link/pay?bizNo=20230904111212800110166317301232207×tamp=1693821087432&originSourcePlatform=IPG&mid=216620040014017155788&sign=&forceToH5=false",
"additionalInfo": {
"contractId": "dn325845cc-9fb7-45aa-9383-15078a28a419",
"expiredTime": "2023-09-04T18:10:11+07:00",
"channel": "CC"
}
}
Invalid mandatory field
- application/json
- Schema
- Example (from schema)
Schema
- oneOf
- DirectDebitGenerateInvalidMandatoryField
- DirectDebitGenerateInvalidFieldFormat
responseCode stringresponseMessage stringresponseCode stringresponseMessage string
{
"responseCode": "4005402",
"responseMessage": "Invalid mandatory field { field name }"
}
Invalid signature
- application/json
- Schema
- Example (from schema)
Schema
- responseCode string
- responseMessage InvalidSignatureMessage
{
"responseCode": "4015400",
"responseMessage": "Invalid signature {cannot verify signature}"
}
Invalid X-PARTNER-ID
- application/json
- Schema
- Example (from schema)
Schema
- responseCode string
- responseMessage InvalidPartnerIdMessage
{
"responseCode": "4045416",
"responseMessage": "Partner not found"
}
Duplicate X-EXTERNAL-ID in same day
- application/json
- Schema
- Example (from schema)
Schema
- oneOf
- DirectDebitGenerateDuplicateXExternalId
- DirectDebitGenerateDuplicatePartnerReferenceNo
responseCode stringresponseMessage stringresponseCode stringresponseMessage string
{
"responseCode": "4095400",
"responseMessage": "Cannot use same X-EXTERNAL-ID in same day"
}
General Error
- application/json
- Schema
- Example (from schema)
Schema
- responseCode string
- responseMessage string
{
"responseCode": "5005400",
"responseMessage": "General Error"
}
Loading...