⌨️Get scheduled payments by billing key API
Last updated
Last updated
GET
https://api.iamport.kr/subscribe/payments/schedule/customers/{customer_uid}
Returns scheduled payments using pagination (up to 3 months period).
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
code
* integer
Response code
0: success, Not 0: check the message
message
* string
Response message
A non-zero code includes a message like 'Invalid payment info'.
response
(Array[ScheduleResultAnnotation], optional
code
* integer
Response code
0: success, Not 0: check the message
message
* string
Response message
A non-zero code includes a message like 'Invalid payment info'.
customer_uid
* string
Billing key
merchant_uid
* string
Order ID
imp_uid
* string
i'mport transaction UID
schedule_at
* UNIX timestamp
Payment scheduled at
executed_at
* UNIX timestamp
Payment started at
revoked_at
* UNIX timestamp
Payment cancelled at
amount
* integer
Payment amount
name
string
Product name
buyer_name
string
Customer name
buyer_email
string
Customer email
buyer_tel
string
Customer phone number
buyer_addr
string
Customer address
buyer_postcode
string
Customer zip code
custom_data
string
Echo data as JSON string
schedule_status
* string
Status of scheduled payment
scheduled
(payment is scheduled for execution)
executed
(payment is completed)
revoked
(payment is cancelled)
payment_status
* string
Payment approval state
null
: Scheduled payment has not executed yet (actual null value, not string)
paid
: Scheduled payment is approved
failed
: Scheduled payment approval failed
cancelled
: Scheduled payment is refunded (cancelled) after approval
fail_reason
string
Reason for failure
Swagger Test Link
customer_uid*
String
Billing key
page
integer
Search result paging
Starts at 1 (default: 1)
from*
integer
Search start time
UNIX timestamp
to*
integer
Search end time
UNIX timestamp
schedule-status
String
Schedule status
If not specified, returns for all status
scheduled
executed
revoked