"credit_card": {
"token_id": "4811117d16c884-2cc7-4624-b0a8-10273b7f6cc8",
"bank": "bni",
"installment_term": 6,
"bins": ["4811", "5233"],
"type": "authorize",
"save_token_id": true
}
JSON Attribute | Description | Type | Required |
---|---|---|---|
token_id | Token id represents customer credit card information. | String(255) | Required |
bank | Name of the acquiring bank. Valid values are: mandiri , bni , cimb , bca , maybank , and bri . | String(255) | Optional |
installment_term | Installment tenure in terms of months. | Integer | Optional |
bins | List of credit card's BIN (Bank Identification Number) that is allowed for transaction. | JSON Array | Optional |
type | Used as preauthorization feature. Valid value: authorize . | String (255) | Optional |
save_token_id | Used on 'One Click' or 'Two Clicks' feature. Enabling it will return a saved_token_id that can be used for the next transaction. | Boolean | Optional |