v1
latestOpenAPI 3.0.02026-07-26167441.9 MBRegister provider request / response / webhook payloads
Stores the HTTP traffic that the merchant exchanged directly with a payment provider (request, response, and webhook) for correlation to a Yuno payment.
post/dry-run/provider-events
Headers
PUBLIC-API-KEYstring
Public API key. One of PUBLIC-API-KEY / PRIVATE-SECRET-KEY required.
PRIVATE-SECRET-KEYstring
Private secret key for server-to-server calls. One of PUBLIC-API-KEY / PRIVATE-SECRET-KEY required.
X-Idempotency-Keystring
Free-form string (MAX 64). 24-hour replay window.
Request body
Example request
{
"merchant_reference": "ORD-12345",
"payment_id": "fb9e5fa4-684c-4747-9755-9d332617f16f",
"account_id": "a389f417-ecd1-4355-89f5-7489564f264d",
"provider_id": "STRIPE",
"payment_method_type": "CREDIT_CARD",
"events": [
{
"type": "REQUEST",
"http_method": "POST",
"operation_type": "PURCHASE",
"base_url": "https://api.stripe.com",
"endpoint": "/v1/charges",
"headers": "eyBDb250ZW50LVR5cGU6IGFwcGxpY2F0aW9uL2pzb24gfQ==",
"body": "eyBhbW91bnQ6IDIwMDAsIGN1cnJlbmN5OiAidXNkIiB9"
}
]
}Response
Dry-run registered
Example response
{
"id": "drun_1209fnkw428ufwd",
"status": "REGISTERED",
"merchant_reference": "ORD-12345",
"payment_id": "fb9e5fa4-684c-4747-9755-9d332617f16f",
"account_id": "a389f417-ecd1-4355-89f5-7489564f264d",
"provider_id": "STRIPE",
"payment_method_type": "CARD",
"operation_type": "PURCHASE"
}