Skip to content

Conversation

@edgarmartinezlogos
Copy link

What changed?

This change adds the data property to the Process Payment response and nest the existing id, transaction_type, and status fields within it, consistent with other response objects in the V3 API (Example: Create Access Token https://github.com/bigcommerce/docs/blob/main/reference/payments/access-tokens_payments.v3.yml#L105)

Before

{
	"id": "",
	"transaction_type": "",
	"status": ""
}

Now

{
	"data": {
		"id": "",
		"transaction_type": "",
		"status": ""
	}
}

Why?

The BigCommerce Payments API is already returning a response that conforms to the updated specifications defined in this PR.
image

…isting id, transaction_type, and status fields within it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant