curl --request GET \
--url https://api.steppay.kr/api/v1/orders/{idOrCode}/pay \
--header 'Secret-Token: <api-key>'{
"applicationContext": {
"displayName": "<string>",
"autowireCapableBeanFactory": {},
"applicationName": "<string>",
"startupDate": 123,
"parent": "<unknown>",
"id": "<string>",
"environment": {
"activeProfiles": [
"<string>"
],
"defaultProfiles": [
"<string>"
]
},
"beanDefinitionCount": 123,
"beanDefinitionNames": [
"<string>"
],
"parentBeanFactory": {},
"classLoader": {
"parent": {
"name": "<string>",
"unnamedModule": {
"layer": {},
"name": "<string>",
"descriptor": {
"open": true,
"automatic": true
},
"classLoader": {
"name": "<string>",
"registeredAsParallelCapable": true,
"definedPackages": [
{
"name": "<string>",
"specificationTitle": "<string>",
"specificationVersion": "<string>",
"specificationVendor": "<string>",
"implementationTitle": "<string>",
"implementationVersion": "<string>",
"implementationVendor": "<string>",
"annotations": [
{}
],
"declaredAnnotations": [
{}
],
"sealed": true
}
]
},
"annotations": [
{}
],
"declaredAnnotations": [
{}
],
"named": true,
"packages": [
"<string>"
]
},
"registeredAsParallelCapable": true,
"definedPackages": [
{
"name": "<string>",
"specificationTitle": "<string>",
"specificationVersion": "<string>",
"specificationVendor": "<string>",
"implementationTitle": "<string>",
"implementationVersion": "<string>",
"implementationVendor": "<string>",
"annotations": [
{}
],
"declaredAnnotations": [
{}
],
"sealed": true
}
]
},
"name": "<string>",
"unnamedModule": {
"layer": {},
"name": "<string>",
"descriptor": {
"open": true,
"automatic": true
},
"classLoader": {
"name": "<string>",
"registeredAsParallelCapable": true,
"definedPackages": [
{
"name": "<string>",
"specificationTitle": "<string>",
"specificationVersion": "<string>",
"specificationVendor": "<string>",
"implementationTitle": "<string>",
"implementationVersion": "<string>",
"implementationVendor": "<string>",
"annotations": [
{}
],
"declaredAnnotations": [
{}
],
"sealed": true
}
]
},
"annotations": [
{}
],
"declaredAnnotations": [
{}
],
"named": true,
"packages": [
"<string>"
]
},
"registeredAsParallelCapable": true,
"definedPackages": [
{
"name": "<string>",
"specificationTitle": "<string>",
"specificationVersion": "<string>",
"specificationVendor": "<string>",
"implementationTitle": "<string>",
"implementationVersion": "<string>",
"implementationVendor": "<string>",
"annotations": [
{}
],
"declaredAnnotations": [
{}
],
"sealed": true
}
]
}
},
"contentType": "<string>",
"requestContextAttribute": "<string>",
"staticAttributes": {},
"exposePathVariables": true,
"beanName": "<string>",
"url": "<string>",
"hosts": [
"<string>"
],
"propagateQueryProperties": true,
"redirectView": true,
"attributesMap": {}
}직접 제어 하고 싶은 경우 응답에 포함된 Location 헤더를 확인하여 리다이렉트될 URI을 가져와 처리하시면 됩니다. 우측의 API 테스트 툴에서는 302 리다이렉트가 제대로 표현되지 않습니다.
curl --request GET \
--url https://api.steppay.kr/api/v1/orders/{idOrCode}/pay \
--header 'Secret-Token: <api-key>'{
"applicationContext": {
"displayName": "<string>",
"autowireCapableBeanFactory": {},
"applicationName": "<string>",
"startupDate": 123,
"parent": "<unknown>",
"id": "<string>",
"environment": {
"activeProfiles": [
"<string>"
],
"defaultProfiles": [
"<string>"
]
},
"beanDefinitionCount": 123,
"beanDefinitionNames": [
"<string>"
],
"parentBeanFactory": {},
"classLoader": {
"parent": {
"name": "<string>",
"unnamedModule": {
"layer": {},
"name": "<string>",
"descriptor": {
"open": true,
"automatic": true
},
"classLoader": {
"name": "<string>",
"registeredAsParallelCapable": true,
"definedPackages": [
{
"name": "<string>",
"specificationTitle": "<string>",
"specificationVersion": "<string>",
"specificationVendor": "<string>",
"implementationTitle": "<string>",
"implementationVersion": "<string>",
"implementationVendor": "<string>",
"annotations": [
{}
],
"declaredAnnotations": [
{}
],
"sealed": true
}
]
},
"annotations": [
{}
],
"declaredAnnotations": [
{}
],
"named": true,
"packages": [
"<string>"
]
},
"registeredAsParallelCapable": true,
"definedPackages": [
{
"name": "<string>",
"specificationTitle": "<string>",
"specificationVersion": "<string>",
"specificationVendor": "<string>",
"implementationTitle": "<string>",
"implementationVersion": "<string>",
"implementationVendor": "<string>",
"annotations": [
{}
],
"declaredAnnotations": [
{}
],
"sealed": true
}
]
},
"name": "<string>",
"unnamedModule": {
"layer": {},
"name": "<string>",
"descriptor": {
"open": true,
"automatic": true
},
"classLoader": {
"name": "<string>",
"registeredAsParallelCapable": true,
"definedPackages": [
{
"name": "<string>",
"specificationTitle": "<string>",
"specificationVersion": "<string>",
"specificationVendor": "<string>",
"implementationTitle": "<string>",
"implementationVersion": "<string>",
"implementationVendor": "<string>",
"annotations": [
{}
],
"declaredAnnotations": [
{}
],
"sealed": true
}
]
},
"annotations": [
{}
],
"declaredAnnotations": [
{}
],
"named": true,
"packages": [
"<string>"
]
},
"registeredAsParallelCapable": true,
"definedPackages": [
{
"name": "<string>",
"specificationTitle": "<string>",
"specificationVersion": "<string>",
"specificationVendor": "<string>",
"implementationTitle": "<string>",
"implementationVersion": "<string>",
"implementationVendor": "<string>",
"annotations": [
{}
],
"declaredAnnotations": [
{}
],
"sealed": true
}
]
}
},
"contentType": "<string>",
"requestContextAttribute": "<string>",
"staticAttributes": {},
"exposePathVariables": true,
"beanName": "<string>",
"url": "<string>",
"hosts": [
"<string>"
],
"propagateQueryProperties": true,
"redirectView": true,
"attributesMap": {}
}주문 번호 또는 코드(주문 번호는 deprecate 될 예정입니다)
결제 성공시 리다이렉트 될 URL
결제 실패시 리다이렉트 될 URL
결제 취소시 리다이렉트 될 URL
결제링크로 리다이렉트 됩니다.